package com.finance.system.accountbook.entity;

import java.math.BigDecimal;

/**
 * Created with IDEA
 * 用于转账策略的建议
 * @author: 董文辉
 * Date: 2018/1/9
 * Time: 18:09
 */
public class Strategy {
    private String payerName;
    private String geterName;
    private BigDecimal amount;

    private Strategy(String payerName, String geterName, BigDecimal amount) {
        this.payerName = payerName;
        this.geterName = geterName;
        this.amount = amount;
    }
    public static Strategy create(String payerName, String geterName, BigDecimal amount){
        return new Strategy(payerName, geterName,  amount);
    }
}
